package com.dream.service.recommender.splitter.strage.impl;

import com.dream.service.recommender.domain.splitter.SplitterRequest;

import java.util.Random;

/**
 * Created by zhiji on 2016/3/15.
 * 随机策略
 */
public class RandomStrategy extends  BaseStrategy {

    @Override
    public int getSeed(SplitterRequest splitterRequest) {
        Random random = new Random();
        return random.nextInt(maxtraffic);
    }

}
